package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Back {
    private Integer id;
    private String bookName;
    private String bookNo;
    private String userIdcard;
    private String userName;
    private String userPhone;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    private Integer score;
    private String status;
    private LocalDate returnDate;
    private Integer days;
    private String note;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date realDate;
}
